/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/9/18 10:10
 * @Copyright
 */
package Enum3;
public class WeekTest {
    public static void main(String[] args) {
        s(Week.MONDAY);
    }
    public static void s(Week week){
        switch (week){
            case MONDAY:
                System.out.println("Today is MONDAY");
                break;
            case TUESDAY:
                System.out.println("Today is TUESDAY");
                break;
            case WEDNESDAY:
                System.out.println("Today is WEDNESDAY");
                break;
            case THURSDAY:
                System.out.println("Today is THURSDAY");
                break;
            case FRIDAY:
                System.out.println("Today is FRIDAY");
                break;
            case SATURDAY:
                System.out.println("Today is SATURDAY");
                break;
            case SUNDAY:
                System.out.println("Today is SUNDAY");
                break;
            default:
                System.out.println("输入错误！");
        }
    }
}
